import axios from 'axios'
export function request(config){
    const instance=axios.create({
        baseURL:'http://127.0.0.1:8888/api',
        timeout:10000
    })
    instance.interceptors.request.use(config=>{
        return config
    },err=>{

    })
    instance.interceptors.request.use(res=>{
        return res
    },err=>{

    })
    return instance(config)
}